class Conexion{
    
private:
    Router *Target;
    unsigned int BW;
    list<Paquete> Buffer;
public:
    Conexion(unsigned int BW, Router *Target)
    {
       this.BW = BW;
       this.Target = Target;  
    }
    void cargar(Paquete p); 
    unsigned int getBW();
    unsigned int getDist();
}
    

Conexion::cargar(Paquete p)
{
    Buffer.insert(p);
}

unsigned int Conexion::getBW()
{
    return this.BW;
}   

unsigned int Conexion::getDist()
{
    return(this.BW*Buffer.getSize());
}